OPC Studio User's Guide and Reference
SubstituteStateFormat Property



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UAMultiStateDiscreteNode<TValue,TAttribute> Class : SubstituteStateFormat Property
The format string used for substituting empty states.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Property SubstituteStateFormat As String
'Usage
 
Dim instance As UAMultiStateDiscreteNode(Of TValue,TAttribute)
Dim value As String
 
instance.SubstituteStateFormat = value
 
value = instance.SubstituteStateFormat
[NotNull()]
public string SubstituteStateFormat {get; set;}
[NotNull()]
public:
property String^ SubstituteStateFormat {
   String^ get();
   void set (    String^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "{0}".

Remarks
The format string is used with the System.String.Format(System.String,System.Object) method. Parameter 0 for the formatting is the current value of the node.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also